@extends('home.mainlayout')
@section('css')
    <link rel="stylesheet" href="/Static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/Static/css/font-awesome.min.css">
    <link rel="stylesheet" href="/Static/css/theme.css">
    <link rel="stylesheet" href="/Static/css/newcore.min.css?v=1.85">
    <link href="/Static/js/plugins/layer/skin/layer.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="/Static/css/pages/usercenter.min.css?v=1.85"/>
@endsection
@section('content')
<div id="biaoti">推广中心</div>
<div class="main">
    <ul class="nav nav-tabs " role="tablist">
        <li class=""><a href="/invite">邀请链接</a></li>
        <li class=""><a href="/invited">成功邀请</a></li>
        <li class=""><a href="3.html">邀请奖励</a></li>
        <li class=""><a href="/tgorder">推广排行榜</a></li>
        <li class="active"><a href="/group/">组团</a></li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" style="margin-bottom: 20px;">

            <div style="padding: 20px 0">
                <form action="/group/crete-group" id="mainform" method="post"><input name="__RequestVerificationToken" type="hidden" value="r-6Tf5aczgRKUq2V86ZVpvyhpWPzoFKz2HwcxpVa1cgQQahMB9dwvcypUT3rPMxWabNbIyXId5IvbVsrNchfnzmhQNE1" />                     <div class="form-group">
                    {{csrf_field()}}
                    <label class="control-label" for="Name">团队名</label>
                    <input class="form-control w300" data-val="true" data-val-required="请输入团队名！" id="Name" maxlength="11" name="name" type="text" value="" />
                </div>
                    <div class="form-group">
                        <span class="field-validation-valid" data-valmsg-for="name" data-valmsg-replace="true"></span>
                    </div>
                    <div class="form-group">
                        <label class="control-label" for="Password" style="display: block">进团暗号</label>
                        <input class="form-control w300" data-val="true" data-val-required="请输入进团暗号！" id="Password" name="password" style="display: inline" type="text" value="" />
                    </div>
                    <div class="form-group">
                        <span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true"></span>
                    </div>
                    <div class="form-group">
                        <input type="submit" class="btn btn-primary" value="确定"/>
                        <a href="/group" class="btn btn-default">取消</a>
                    </div>
                </form>
            </div>
            <br />
            <ul class="alert alert-info" style="list-style: none">
                <li>1,团队关系和邀请关系不冲突，即假若您已加入团队，您仍然可以使用邀请链接他人。</li>
                <li>2,一个人只能加入一个团队（如果您创建了团队，您就不能再加入其他团队）。</li>
            </ul>
        </div>
    </div>
</div>
<script>
    var message = "{{Session::get('message')}}";
    $(window).ready(function () {
        if (message) {
            layer.msg(message, {
                time: 3000 //2秒关闭（如果不配置，默认是3秒）
            });
        }
    });
</script>
@endsection

